﻿<!doctype html>
<html>
<!-- InstanceBegin template="/Templates/template1.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta charset="utf-8">
<!-- InstanceBeginEditable name="doctitle" -->
<title>活动参与</title>
<!-- InstanceEndEditable -->

<script type="text/javascript" src="../js/common.js"></script>
<script type="text/javascript" src="../js/checkLogin.js"></script> 
<link href="../css/Pager.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../js/jquery.pager.js"></script>
<script type="text/javascript" src="../js/gbRst.js"></script>
<script type="text/javascript" src="../js/doubleDate2.0.js"></script>
	<script type="text/javascript" src="../js/utils.js"></script>
<script type="text/javascript" src="../js/ajaxfileupload.js"></script> 
<script type="text/javascript" src="../js/ImageBrowsing.js"></script> 
	<script charset="utf-8" src="../js/kindeditor.js"></script>
<script type="text/javascript" src="../js/formValidator.js"></script>
	<script type="text/javascript" src="../js/formValidatorRegex.js"></script>
		<script charset="utf-8" src="../js/lang/zh_CN.js"></script>
<link href="../css/validator3.css" type="text/css" rel="stylesheet" />
	<link href="../css/style.css" type="text/css" rel="stylesheet" />

<script type="text/javascript">
$(function(){
	refreshInput($(".serWrapper"));
	$(".hideDiv").each(function(){
		addMargin($(this));
	})
	$('.doubledate').kuiDate({
		className:'doubledate',
		isDisabled: "1"  // isDisabled为可选参数，“0”表示今日之前不可选，“1”标志今日之前可选
	});
	$.formValidator.initConfig({
		formID : "manForm",
		onError : function() {
			alert("校验没有通过，具体错误请看错误提示");
		}
	});	
	$("#actPsnCount").formValidator({
		empty:false,
		onshow:"",
		onfocus:"",
		oncorrect:""
		 }).inputValidator({
				min:1,
				max:20,
				onerror:"不能为空(最大长度为20)"
			}).regexValidator({
				regexp:"^[1-9]\\d*$",
				onerror:"请输入合法字符"});
	$("#LinkMan").formValidator({
		empty:false,
		onshow:"",
		onfocus:"",
		oncorrect:""
		 }).inputValidator({
				min:1,
				max:20,
				onerror:"不能为空(最大长度为20)"
			})
	$("#linkPhone").formValidator({
		empty:false,
		onshow:"",
		onfocus:"",
		oncorrect:""
		 }).regexValidator({
				regexp:"^(13|15|18)[0-9]{9}$",
				onerror:"请输入合法字符"});


});
</script>
<script type="text/javascript">
var rptPageIndex=1;
var rptPageCount=0;
$(function(){
	var actId=getIdByName("actId");
	toUpdate(actId);
	showDet(actId)
})
function toUpdate(actId){
	$.ajax({
		url:'../activity/find/activity/actId/'+actId,
		async:false,
		datatype:'json',
		type:'get',
		success:
			function(data){
			var rst= JSON.parse(data);			
			if(IsEmpty(rst)){
				art.dialog({fixed:true, lock: true,content:"查询出錯",icon:'error',ok:true});	
				return false;
				}
				if(rst.state==0){
					$("#activityContent").html(getHtmlString(getHeadIndexValue(0, rst, "content")))
					$("#activityName").html(getHtmlString(getHeadIndexValue(0, rst, "name")))
						/* $("#shopName2").val(getHtmlString(getHeadIndexValue(0, rst, "shopName")));
						$("#shopId").val(getHtmlString(getHeadIndexValue(0, rst, "shopId")));
						$("#actName").val(getHtmlString(getHeadIndexValue(0, rst, "name")));
						$("#imageUrl").val(getHtmlString(getHeadIndexValue(0, rst, "imageURL")));
						$("#imgSrc img").attr("src",getHtmlString(getHeadIndexValue(0, rst, "imageURL")))
						$("#actLargeType").val(getHtmlString(getHeadIndexValue(0, rst, "ActLargeName")));
						getActSmallType(getHtmlString(getHeadIndexValue(0, rst, "ActLargeID")))
						$("#actSmallType").val(getHtmlString(getHeadIndexValue(0, rst, "smallName")));
						actSmallTypeId=getHtmlString(getHeadIndexValue(0, rst, "smallId"))
						$("#actBeginTime").val(getHtmlString(getHeadIndexValue(0, rst, "actBeginDate")));
						$("#actEndTime").val(getHtmlString(getHeadIndexValue(0, rst, "actEndDate")));
						$("#rptBeginTime").val(getHtmlString(getHeadIndexValue(0, rst, "rptBeginDate")));
						$("#rptEndTime").val(getHtmlString(getHeadIndexValue(0, rst, "rptEndDate")));
						$("#addr").val(getHtmlString(getHeadIndexValue(0, rst, "address")));
						$("#lng").val(getHtmlString(getHeadIndexValue(0, rst, "Lng")));
						$("#lat").val(getHtmlString(getHeadIndexValue(0, rst, "lat")));
						$("#submitMan").val(getHtmlString(getHeadIndexValue(0, rst, "submitMan")));
						$("#price").val(getHtmlString(getHeadIndexValue(0, rst, "price")));
						$("#actContent").val(getHtmlString(getHeadIndexValue(0, rst, "content")));
						$("#oldPriceDes").val(getHtmlString(getHeadIndexValue(0, rst, "oldPriceDes")));
						$("#priceDes").val(getHtmlString(getHeadIndexValue(0, rst, "priceDes")));
						$("#offDes").val(getHtmlString(getHeadIndexValue(0, rst, "offDes")));
						$("#indexUrl").val(getHtmlString(getHeadIndexValue(0, rst, "indexURL")));
						$("#actType").val(getHtmlString(getHeadIndexValue(0, rst, "type")));
						var status=getHeadIndexValue(0, rst, "status");
						if(status==0){
							$("#save_btn").show();
							$("#cancle_btn").show();
							$("#check_btn").show();
						}else if(status==1){
							$(".isDisabled").attr("disabled",true);
							$("#cancle_btn").show();
							$("#save_btn").hide();
							$("#check_btn").hide();
						}else if(status==2){
							$("#save_btn").show();
							$("#check_btn").show();
						} */
						
					
				}else if(rst.state==1){
					art.dialog({fixed:true, lock: true,content:"查询出錯",icon:'error',ok:true});	
				}else{
					checkStateShowErrorMsgAndDealResult(data);
				}
			
			
		}
	})

		}
		

	function popPoint2(id){
		art.dialog({fixed:true, lock: true,content:"确认删除该条数据？",icon:'question',ok: function(){ deleteManInfo(id)},cancel:true});
		}

	function showDet(actId){
		activityId= actId
		$.ajax({
			type : "get",
			async:false,
			datatype : "json",
			url : "../activityrpt/find/actId/" + actId + "/"+(rptPageIndex-1)+"/5",
			success : function(data) {
				var dt = JSON.parse(data);				
				if(IsEmpty(dt)){
					art.dialog({fixed:true, lock: true,content:"查询出錯",icon:'error',ok:true});	
					return false;
					}
					if(dt.state==0){
						$("#sup2").html("共："+dt.result.len+"条")
						activityrptListTable(dt)
						 var shu = dt.result.len;
						rptPageCount = Math.ceil(shu/5);
						 $("#manPager").pager({ pagenumber: rptPageIndex, pagecount: rptPageCount, buttonClickCallback: PageClick });

					}else if(dt.state==1){
						art.dialog({fixed:true, lock: true,content:dt.msg,icon:'error',ok:true});	
					}else{
						checkStateShowErrorMsgAndDealResult(data);
					}
				
			}	
		});
		
	}
	PageClick= function(currentPage){
		rptPageIndex=currentPage;
		showDet(activityId)
	}
	function activityrptListTable(json){
		$("#activityrptList tbody").empty();
		for ( var i = 0; i < json.result.data.length; i++) {
			$("#activityrptList tbody").append("<tr></tr>");
			var rptId=getHtmlInt(getHeadIndexValue(i, json, "id"));
			var	rptHtm="<td id='rpt_createTime_"+rptId+"'>"+getHtmlString(getHeadIndexValue(i, json, "CreatedTime"))+"</td>"
			rptHtm+="<td id='rpt_actPsnCount_"+rptId+"'>"+getHtmlString(getHeadIndexValue(i, json, "actPsnCount"))+"</td>"
			 rptHtm+="<td id='rpt_linkMan_"+rptId+"'>"+getHtmlString(getHeadIndexValue(i, json, "linkMan"))+"</td>"
			 rptHtm+="<td id='rpt_linkPhone_"+rptId+"'>"+getHtmlString(getHeadIndexValue(i, json, "linkPhone"))+"</td>"
			 rptHtm+="<td id='rpt_idNumber_"+rptId+"'>"+getHtmlString(getHeadIndexValue(i, json, "idNumber"))+"</td>"
			 rptHtm+="<td id='rpt_email_"+rptId+"'>"+getHtmlString(getHeadIndexValue(i, json, "email"))+"</td>"
			 rptHtm+="<td id='rpt_addr_"+rptId+"'>"+getHtmlString(getHeadIndexValue(i, json, "addr"))+"</td>"
			 rptHtm+="<td id='rpt_shiper_"+rptId+"'>"+getHtmlString(getHeadIndexValue(i, json, "shiper"))+"</td>"
			 rptHtm+="<td id='rpt_staName_"+rptId+"'> <input type='hidden' id=\"rpt_status_"+rptId+"\" value='"+getHtmlString(getHeadIndexValue(i, json, "status"))+"'> "+getHtmlString(getHeadIndexValue(i, json, "staName"))+"</td>"
			 rptHtm+="<td><input type='hidden' id='rpt_payType_"+rptId+"' value='"+getHtmlString(getHeadIndexValue(i, json, "payType"))+"'> <input type=\"button\" class=\"common_btn\" value=\"修改\" onclick=\"showJoin("+rptId+",$(this))\"><input type=\"button\" class=\"del\" value=\"删除\" onclick='popPoint2("+rptId+")'></td>"
			 $("#activityrptList tbody tr:last").append(rptHtm);

		}
	}
	function showJoin(id){
		restManForm();
		$("#actPsnCount").val($("#rpt_actPsnCount_"+id).html());
		$("#LinkMan").val($("#rpt_linkMan_"+id).html());
		$("#linkPhone").val($("#rpt_linkPhone_"+id).html());
		$("#email").val($("#rpt_email_"+id).html());
		$("#idNumber").val($("#rpt_idNumber_"+id).html());
		$("#manAddr").val($("#rpt_addr_"+id).html());
		$("#shiper").val($("#rpt_shiper_"+id).html());
		$("#payType").val($("#rpt_payType_"+id).val());
		$("#doflag2").val(2)
		$("#updateId2").val(id);
		var status= $("#rpt_status_"+id).val();
		if(status==1){
			$("#manCancle_btn").show();
			$("#manSave_btn").hide();
			$("#PopList input[type='text']").attr("disabled",true);
			$("#payType").attr("disabled",true);

		}else if(status==0){
			$("#manSave_btn").val("修改信息");
			$("#manCheck_btn").show();
			$("#manCancle_btn").show();
		}else if(status==2){
			$("#manSave_btn").val("修改信息");
			$("#manCheck_btn").show();
		}
		$("#PopList,#yinyingCenter").show();
	}
	function toAddMan(){
		restManForm();
		$("#manSave_btn").val("添加");
		$("#doflag2").val(1);
		$("#PopList,#yinyingCenter").show();
	}
	function saveMan(){
		var doflag=$("#doflag2").val();
		if(doflag==1){
			addMan()
		}else if(doflag==2){
			editMan()
		}else {
			art.dialog('页面出错', function(){ fresh() });	
		}
	}
	
	function addMan(){
		var actPsnCount=$("#actPsnCount").val().replace(/\s/gi,'');
		var LinkMan=$("#LinkMan").val().replace(/\s/gi,'');
		var linkPhone = $("#linkPhone").val().replace(/\s/gi,'');
		var email=$("#email").val().replace(/\s/gi,'');
		var idNumber=$("#idNumber").val().replace(/\s/gi,'');
		var addr=$("#manAddr").val().replace(/\s/gi,'');
		var shiper=$("#shiper").val().replace(/\s/gi,'');
		var payType=$("#payType").val();
		if(IsEmpty(actPsnCount)){
				art.dialog({fixed:true, lock: true,content:'参与人数不能为空',icon:'error',ok:true});	
				$("#actPsnCount").focus();
				return false;
		}else{
			 var reg=	/^[1-9]\d*$/;
			   if(!reg.test(actPsnCount)){
					art.dialog({fixed:true, lock: true,content:"参与人数错误",icon:'error',ok:true});	
					$("#actPsnCount").focus();
					return false;
			   }
		}
		
		if(IsEmpty(LinkMan)){
			art.dialog({fixed:true, lock: true,content:'联系人不能为空',icon:'error',ok:true});	
			$("#LinkMan").focus();
			return false;
		}
		if(IsEmpty(linkPhone)){
			art.dialog({fixed:true, lock: true,content:'联系电话不能为空',icon:'error',ok:true});	
			$("#linkPhone").focus();
			return false;
		}else{
			 var reg=	/^(13|15|18)[0-9]{9}$/;
			   if(!reg.test(linkPhone)){
					art.dialog({fixed:true, lock: true,content:"手机格式错误",icon:'error',ok:true});	
					$("#linkPhone").focus();
					return false;
			   }	
		}
		if(IsNotEmpty(addr)){
			if(addr.length>50){
				art.dialog({fixed:true, lock: true,content:"地址过长(50字以内)",icon:'error',ok:true});	
				$("#manAddr").focus();
				return false;
			}
		}
		
		var heads=new Array("actId","actPsnCount","linkMan","linkPhone","email","idNumber","address","shiper","payType")
		var datas=new Array(activityId,actPsnCount,LinkMan,linkPhone,email,idNumber,addr,shiper,payType)
		
		var parser = new Object();
		var jsonParserStr = null;
		if (IsNotEmpty(datas)){
			addToParser(heads, datas, "add" , parser);
			jsonParserStr =  JSON.stringify(parser);
		}
		$.post("../activityrpt/insert",{"data":jsonParserStr}, function(data) {
			var dt = JSON.parse(data);
			
			if(IsEmpty(dt)){
				art.dialog({fixed:true, lock: true,content:"添加出錯",icon:'error',ok:true});	
				return false;
				}
				if(dt.state==0){
					art.dialog({fixed:true, lock: true,content:"添加成功",icon:'succeed',ok:true});	
					showDet(activityId)
					$("#PopList,#yinyingCenter").hide();
				}else if(dt.state==1){
					art.dialog({fixed:true, lock: true,content:dt.msg,icon:'error',ok:true});	
				}else{
					checkStateShowErrorMsgAndDealResult(data);
				}
			
		});
	}
	function restManForm(){
		$("#manCheck_btn").hide();
		$("#manCancle_btn").hide();
		$("#manSave_btn").show().val("添加参与");
		$("#PopList input[type='text']").val("");
		$("#PopList input[type='text']").attr("disabled",false);
		$("#payType").attr("disabled",false)

	}
	
	function editMan(){
		var id=$("#updateId2").val();
		var actPsnCount=$("#actPsnCount").val().replace(/\s/gi,'');
		var LinkMan=$("#LinkMan").val().replace(/\s/gi,'');
		var linkPhone = $("#linkPhone").val().replace(/\s/gi,'');
		var email=$("#email").val().replace(/\s/gi,'');
		var idNumber=$("#idNumber").val().replace(/\s/gi,'');
		var addr=$("#manAddr").val().replace(/\s/gi,'');
		var shiper=$("#shiper").val().replace(/\s/gi,'');
		var payType=$("#payType").val();
		if(IsEmpty(actPsnCount)){
			art.dialog({fixed:true, lock: true,content:'参与人数不能为空',icon:'error',ok:true});	
			$("#actPsnCount").focus();
			return false;
	}else{
		 var reg=	/^[1-9]\d*$/;
		   if(!reg.test(actPsnCount)){
				art.dialog({fixed:true, lock: true,content:"参与人数错误",icon:'error',ok:true});	
				$("#actPsnCount").focus();
				return false;
		   }
	}
	
	if(IsEmpty(LinkMan)){
		art.dialog({fixed:true, lock: true,content:'联系人不能为空',icon:'error',ok:true});	
		$("#LinkMan").focus();
		return false;
	}
	if(IsEmpty(linkPhone)){
		art.dialog({fixed:true, lock: true,content:'联系电话不能为空',icon:'error',ok:true});	
		$("#linkPhone").focus();
		return false;
	}else{
		 var reg=	/^(13|15|18)[0-9]{9}$/;
		   if(!reg.test(linkPhone)){
				art.dialog({fixed:true, lock: true,content:"手机格式错误",icon:'error',ok:true});	
				$("#linkPhone").focus();
				return false;
		   }	
	}
	if(IsNotEmpty(addr)){
		if(addr.length>50){
			art.dialog({fixed:true, lock: true,content:"地址过长(50字以内)",icon:'error',ok:true});	
			$("#manAddr").focus();
			return false;
		}
	}
		
		var heads=new Array("actId","actPsnCount","linkMan","linkPhone","email","idNumber","address","shiper","payType","id")
		var datas=new Array(activityId,actPsnCount,LinkMan,linkPhone,email,idNumber,addr,shiper,payType,id)
		
		var parser = new Object();
		var jsonParserStr = null;
		if (IsNotEmpty(datas)){
			addToParser(heads, datas, "edit" , parser);
			jsonParserStr =  JSON.stringify(parser);
		}
		$.post("../activityrpt/edit",{"data":jsonParserStr}, function(data) {
			var dt = JSON.parse(data);
			if(IsEmpty(dt)){
				art.dialog({fixed:true, lock: true,content:"修改出錯",icon:'error',ok:true});	
				return false;
				}
				if(dt.state==0){
					art.dialog({fixed:true, lock: true,content:"修改成功",icon:'succeed',ok:true});	
					showDet(activityId)
					$("#PopList,#yinyingCenter").hide();
				}else if(dt.state==1){
					art.dialog({fixed:true, lock: true,content:dt.msg,icon:'error',ok:true});	
				}else{
					checkStateShowErrorMsgAndDealResult(data);
				}
			
		});
		
	}
	
	function checkMan(){
		art.dialog({fixed:true, lock: true,icon:'question', content:"确定通过审核？",
			button:[{name:'是',callback:checkedMan },{name:'否'}]});	
	
	}
	checkedMan=function(){
		editStatus(1);
	}
	
	function editStatus(status){
		var id=$("#updateId2").val();
		
		var heads=new Array("status","id")
		var datas=new Array(status,id)
		
		var parser = new Object();
		var jsonParserStr = null;
		if (IsNotEmpty(datas)){
			addToParser(heads, datas, "edit" , parser);
			jsonParserStr =  JSON.stringify(parser);
		}
		$.post("../activityrpt/edit/editStatus",{"data":jsonParserStr}, function(data) {
			var dt = JSON.parse(data);
			if(IsEmpty(dt)){
				art.dialog({fixed:true, lock: true,content:"修改出錯",icon:'error',ok:true});	
				return false;
				}
				if(dt.state==0){
					art.dialog({fixed:true, lock: true,content:"操作成功",icon:'succeed',ok:true});	
					showDet(activityId)
					$("#PopList,#yinyingCenter").hide();
				}else if(dt.state==1){
					art.dialog({fixed:true, lock: true,content:dt.msg,icon:'error',ok:true});	
				}else{
					checkStateShowErrorMsgAndDealResult(data);
				}
			
		});
	}
	
	function cancleMan(){
		art.dialog({fixed:true, lock: true,icon:'question', content:"确定取消参与？",
			button:[{name:'是',callback:cancledMan },{name:'否'}]});	
	
	}
	cancledMan=function(){
		editStatus(2);
	}
	function deleteManInfo(id){
		if(IsNotEmpty(id)){

			$.post("../activityrpt/del",{"id":id}, function(data) {
				var dt = JSON.parse(data);
				if(IsEmpty(dt)){
					art.dialog({fixed:true, lock: true,content:"删除出錯",icon:'error',ok:true});	
					return false;
					}
					if(dt.state==0){
						art.dialog({fixed:true, lock: true,content:"删除成功",icon:'succeed',ok:true});	
						showDet(activityId)
					}else if(dt.state==1){
						art.dialog({fixed:true, lock: true,content:dt.msg,icon:'error',ok:true});	
					}else{
						checkStateShowErrorMsgAndDealResult(data);
					}	
				
			});
		}
	}
	
	function  downResourse(){
		window.location.href="../csvdown/down/csv/down?downType=11&actId="+activityId

	}
	function returnURL(){
		window.location.href='activitie.html?shopCheck='+getIdByName("shopCheck")+"&flag=2&shopId="+getIdByName("shopId")+"&actName="+getIdByName("actName")+"&subMan="+getIdByName("subMan")+"&pageIndex="+getIdByName("pageIndex")+"&shopName="+getIdByName("shopName")
	}	
</script>


</head>

<body>
<!-- InstanceBeginEditable name="EditRegion3" --> 

<div id="yinying1"></div>
<div id="yinyingCenter"></div>
<div id="yinying"></div>
<div id="window_changeff" class="hideDiv"  style=" width:650px;background:#fff;z-index:400;"  >
	<textarea id="editIndex" name="editIndex"></textarea>
	<div class="BottomBtn">
        <input type="button" value="确定" class="common_btn" onclick="saveHtml()" >
        <input type="button" value="取消" style="background-color: red;" class="common_btn" onclick="cancelHtml()" >
      </div>
</div>


<div id="PopList" class="hideDiv member_search">
  <div class="closeTop"><span class="closeThe" onclick="closeParent($(this))"><img src="../images/close.png"></span></div>
  <input type="hidden" id="doflag2">
  <input type="hidden" id="updateId2">
  <form id="manForm">
  <p><label><span>参与人数：</span><input type="text" id="actPsnCount" > </label> <label><span>联系人：</span><input type="text" id="LinkMan" >  </label></p>
  <p><label><span>联系电话：</span><input type="text" id="linkPhone" ></label><label><span>Email：</span><input type="text" id="email" ></label></p>
  <p><label><span>身份证号：</span><input type="text" id="idNumber" ></label><label><span>地址：</span><input type="text" id="manAddr" > </label></p>
  <p><label><span>发货人：</span><input type="text" id="shiper" ></label><label><span>付款方式：</span><select id="payType"><option value="0">在线支付</option><option value="1">货到付款</option></select></label></p>
	</form>
<div class=BottomBtn abp="40">
<input id="manSave_btn" class="check_btn" value="保存信息" type=button abp="41" onclick="saveMan()">
<input id="manCheck_btn" class="common_btn" value="通过审核" type=button abp="41" onclick="checkMan()" style="display: none;">
<input id="manCancle_btn" class="del" value="取消参与" type=button abp="41" onclick="cancleMan()" style="display: none;">
<input id="manUnCheck_btn" class="del" value="取消报名" type=button abp="41" onclick="enCheckMan()" style="display: none;">
</div>
</div>
<!-- 活动大类 -->
<div class="hideDiv hideOver" id="window1">
 <div class="closeTop"><span class="closeThe" onclick="closeParent($(this))"><img src="../images/close.png"></span></div>
	<table id="actLargeList" width="100%" cellspacing="1" cellpadding="0" border="0" class="member_list">
    	<caption>活动大类       </caption>
    	<thead>
    	<tr>
        	<th>类别</th>
        	<th>操作</th>
        	<th>类别</th>
        	<th>操作</th>
        	<th>类别</th>
        	<th>操作</th>
        	<th>类别</th>
        	<th>操作</th>
        </tr>
        </thead>
        <tbody>
        	
        </tbody>
    </table>
</div>
<!-- 活动小类 -->
<div class="hideDiv hideOver" id="window2">
 <div class="closeTop"><span class="closeThe" onclick="closeParent($(this))"><img src="../images/close.png"></span></div>
	<table id="actSmallList" width="100%" cellspacing="1" cellpadding="0" border="0" class="member_list">
    	<caption>活动小类         </caption>
    	<thead>
    	<tr>
        	<th>类别</th>
        	<th>操作</th>
        	<th>类别</th>
        	<th>操作</th>
        	<th>类别</th>
        	<th>操作</th>
        	<th>类别</th>
        	<th>操作</th>
        </tr>
        </thead>
        <tbody>
        	
        </tbody>
    </table>
</div>
<div class="container" id="container">
  <div class="container_R fr">
      <div class="place"><a onclick="returnURL()" href='javaScript:void(0)'>活动管理</a><span> &gt; <span>查看详情 <a class="goHome" onclick="returnURL()" href='javaScript:void(0)'>返回</a> </div>
    <div class="boxcontent">
    <div class="box_activities">
      <div class="title"><span>活动名称：</span></div>
      <div class="Detail" id="activityName">
      </div>
    </div>
  </div>
  <div class="boxcontent">
    <div class="box_activities">
      <div class="title"><span>活动说明：</span></div>
      <div class="Detail" id="activityContent">
      </div>
    </div>
  </div>
  <div class="boxcontent box_blue">
    <div class="box_activities">
      <div class="title"><span>参与名单：</span><i id="partNum2"></i></div>
      <div class="Detail" id="div1" style="height: auto;">

      	<table width="100%" class="member_list" cellpadding="0" cellspacing="1" border="0" id="activityrptList">
    	<caption><strong>人员列表       <span id="sup2">共0条</span> </strong><input onclick=" toAddMan()" type="button" class="common_btn" value="增加参与人"><input onclick="downResourse()" type="button" class="common_btn" value="导出数据"></caption>
    	<thead>
    	<tr>
    		<th>参与时间</th>
    		<th>参与人数</th>
    		<th>联系人</th>
        	<th>联系电话</th>
        	<th>身份证号</th>
        	<th>邮箱</th>
        	<th>地址</th>
        	<th>发货人</th>
        	<th>状态</th>
        	<th>操作</th>
        </tr>
        </thead>
        <tbody>
        	
        </tbody>
    </table>
    <div id="manPager" class="shopPager"></div>
      </div>
    </div>
   
  </div>  
  </div>
    <div class="fc"></div>
  
</div>
<!-- InstanceEndEditable --> 
<script type="text/javascript" src="../js/header.js"></script> 
<script type="text/javascript" src="../js/left.js"></script> 
<script type="text/javascript" src="../js/footer.js"></script> 
<script type="text/javascript">
clearThis("absoluteTxt");
showTab(3,4);
</script>

<div id="shopShow" class="hideDiv">
    <div style="float:right;margin-bottom:5px;width:20px;height:20px;line-height:20px;text-align:center;background-color:#eee;margin-bottom:5px;border:1px solid #ccc;" > <span style="cursor: pointer;font-size: 14px;" onclick="closeShopShow();" >X</span> </div>
    <div class="bottom_search"><div class="serWrapper"><input type="text" id="searchName" class="txt"><strong class="refresh" onclick="$('#searchName').val('')">清空</strong></div><input class="common_btn" type="button" style="width:auto;margin-left:5px;" value="查询" onclick="search2()"></div>
    <table   id="shopList" cellpadding="4" cellspacing="0" border="1" width="100%">
    <thead>
    <tr>
    <th>店面ID</th>
    <th>店面名称</th>
    <th>电话</th>
    <th>操作</th>
    </tr>
    </thead>
    </table>
    	<div id="shopPager" class="shopPager"></div>
    </div>
</body>
<!-- InstanceEnd -->
</html>
